home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / 3DMF parser / 0.9 version / MFASSERT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-24  |  696 b   |  34 lines  |  [TEXT/MPS ]

  1. #ifndef    MF3D_ASSERT_H
  2. #define    MF3D_ASSERT_H
  3. /*==============================================================================
  4.  *
  5.  *    File:        MFASSERT.H
  6.  *
  7.  *    Function:    Assert wrapper
  8.  *
  9.  *    Author(s):    Rick Wong (RWW)
  10.  *
  11.  *    Copyright:    (c) 1995 by Apple Computer, Inc., all rights reserved.
  12.  *
  13.  *    Change History (most recent first):
  14.  *        Fabio    Changed file name to 8 characters
  15.  *        F2G_RWW    File created.
  16.  *==============================================================================
  17.  */
  18. #if defined(__COMPILING_ON_MACINTOSH__)
  19. #pragma once
  20. #endif
  21.  
  22. #if defined(DEBUG) && DEBUG > 0
  23. #include <assert.h>
  24.  
  25. #define    MFASSERT(x)    assert(x)
  26.  
  27. #else    /* DEBUG */
  28.  
  29. #define    MFASSERT(x)    1
  30.  
  31. #endif    /* DEBUG */
  32.  
  33. #endif
  34.